It so far having been ~1 made most of the code preceding the call
pointless, but I assume this wasn't meant to be that way. Also replace
the remaining hard coded ~1 with an expression documenting the
intention a little better.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Adjust again to use SHF_page_type_mask, at Jan's suggestion.
Signed-off-by: Tim Deegan <tim@xen.org>
#endif
if ( SHADOW_AUDIT & SHADOW_AUDIT_ENTRIES_FULL )
- mask = ~1; /* Audit every table in the system */
+ mask = SHF_page_type_mask; /* Audit every table in the system */
else
{
/* Audit only the current mode's tables */
}
}
- hash_foreach(v, ~1, callbacks, _mfn(INVALID_MFN));
+ hash_foreach(v, mask, callbacks, _mfn(INVALID_MFN));
}
#endif /* Shadow audit */